home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWODMisc / SLSUSink.xih < prev   
Encoding:
Text File  |  1996-09-16  |  16.3 KB  |  489 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: SLSUSink.xih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxih.dll: 2.33
  8.  */
  9.  
  10. /*
  11.  *  ----- Our Includes
  12.  */
  13.  
  14.  
  15. #ifndef SOM_FW_OStorageUnitSink_xih
  16. #define SOM_FW_OStorageUnitSink_xih
  17.  
  18. #include <somcls.xh>
  19. #include <somcm.xh>
  20.  
  21. /*
  22.  * Passthru lines: File: "C.xih", "before"
  23.  */
  24. class FW_CPrivSUSinkRep;
  25.  
  26. #ifndef SOM_FW_OStorageUnitSink_xh
  27. #include <SLSUSink.xh>
  28. #endif
  29.  
  30. /*
  31.  * Set the scope of methods functions
  32.  */
  33. #ifndef SOM_Scope
  34. #define SOM_Scope extern "C"
  35. #endif
  36.  
  37. #define FW_OStorageUnitSink_MaxNoMethods 3
  38.  
  39. /*
  40.  * -- Instance Data
  41.  */
  42.  
  43. /*
  44.  * -- Use best possible alignment for instance data slice.
  45.  */
  46. #if PRAGMA_ALIGN_SUPPORTED
  47. #  pragma options align=power
  48. #endif
  49. typedef struct FW_OStorageUnitSinkData {
  50.     FW_CPrivSUSinkRep* fRep;
  51. } FW_OStorageUnitSinkData;
  52. #if PRAGMA_ALIGN_SUPPORTED
  53. #  pragma options align=reset
  54. #endif
  55.  
  56. /*
  57.  * -- Getdata Macro
  58.  */
  59.  
  60. /*
  61.  * -- This emitter treats Data Tokens as Thunks by default.
  62.  * -- Use the sc modifier "nothunks" to override this default.
  63.  */
  64. SOMEXTERN typedef FW_OStorageUnitSinkData* (* SOMLINK somTD_FW_OStorageUnitSink_DataThunk)(void*);
  65. #define FW_OStorageUnitSinkGetData(somSelf) \
  66.    (((somTD_FW_OStorageUnitSink_DataThunk)(FW_OStorageUnitSinkClassData.instanceDataToken))(somSelf))
  67.  
  68. /*
  69.  * -- Instance Data Access Macros for use in Method Procedures
  70.  */
  71. #ifdef VARIABLE_MACROS
  72.   #define _fRep (somThis->fRep)
  73. #endif
  74.  
  75.  
  76. /*
  77.  * Trace/Debug macro
  78.  */
  79. #ifndef FW_OStorageUnitSinkMethodDebug
  80. #define FW_OStorageUnitSinkMethodDebug(c,m) SOMMethodDebug(c,m)
  81. #endif
  82.  
  83. /*
  84.  * -- Method Macros for use in Method Procedures
  85.  */
  86. #ifdef METHOD_MACROS
  87.   #define _GetLength somSelf->GetLength
  88.   #define _SetLength somSelf->SetLength
  89.   #define _GetPosition somSelf->GetPosition
  90.   #define _SetPosition somSelf->SetPosition
  91.   #define _GetReadableBytes somSelf->GetReadableBytes
  92.   #define _GetReadableBytes somSelf->GetReadableBytes
  93.   #define _Read somSelf->Read
  94.   #define _GetWritableBytes somSelf->GetWritableBytes
  95.   #define _Write somSelf->Write
  96.   #define _somInit somSelf->somInit
  97.   #define _somUninit somSelf->somUninit
  98.   #define _somInit somSelf->somInit
  99.   #define _somUninit somSelf->somUninit
  100.   #define _somDuplicateReference somSelf->somDuplicateReference
  101.   #define _somCompareReference somSelf->somCompareReference
  102.   #define _somRelease somSelf->somRelease
  103.   #define _somFree somSelf->somFree
  104.   #define _somCanDelete somSelf->somCanDelete
  105.   #define _somGetClass somSelf->somGetClass
  106.   #define _somGetClassName somSelf->somGetClassName
  107.   #define _somGetSize somSelf->somGetSize
  108.   #define _somIsA somSelf->somIsA
  109.   #define _somRespondsTo somSelf->somRespondsTo
  110.   #define _somIsInstanceOf somSelf->somIsInstanceOf
  111.   #define _somDispatch somSelf->somDispatch
  112.   #define _somClassDispatch somSelf->somClassDispatch
  113.   #define _somCastObj somSelf->somCastObj
  114.   #define _somResetObj somSelf->somResetObj
  115.   #define _somPrintSelf somSelf->somPrintSelf
  116.   #define _somDumpSelf somSelf->somDumpSelf
  117.   #define _somDumpSelfInt somSelf->somDumpSelfInt
  118.   #define _InitFromStorageUnitView somSelf->InitFromStorageUnitView
  119.   #define _InitFromStorageUnitAndProperty somSelf->InitFromStorageUnitAndProperty
  120.   #define _GetStorageUnitView somSelf->GetStorageUnitView
  121.   #define _somInit somSelf->somInit
  122.   #define _somUninit somSelf->somUninit
  123.   #define _Read somSelf->Read
  124.   #define _GetWritableBytes somSelf->GetWritableBytes
  125.   #define _Write somSelf->Write
  126.   #define _GetLength somSelf->GetLength
  127.   #define _SetLength somSelf->SetLength
  128.   #define _GetPosition somSelf->GetPosition
  129.   #define _SetPosition somSelf->SetPosition
  130. #endif
  131.  
  132.  
  133. /*
  134.  * Introduced methods
  135.  */
  136.  
  137. /* New Method: InitFromStorageUnitView */
  138. SOM_Scope void  SOMLINK FW_OStorageUnitSink__InitFromStorageUnitView(FW_OStorageUnitSink *somSelf, Environment *ev,
  139.         ODStorageUnitView* storageUnitView);
  140.  
  141. /* New Method: InitFromStorageUnitAndProperty */
  142. SOM_Scope void  SOMLINK FW_OStorageUnitSink__InitFromStorageUnitAndProperty(FW_OStorageUnitSink *somSelf, Environment *ev,
  143.         ODStorageUnit* storageUnit,
  144.         ODPropertyName propertyName,
  145.         ODValueType valueType);
  146.  
  147. /* New Method: GetStorageUnitView */
  148. SOM_Scope ODStorageUnitView*  SOMLINK FW_OStorageUnitSink__GetStorageUnitView(FW_OStorageUnitSink *somSelf, Environment *ev);
  149.  
  150. /*
  151.  * Overridden methods
  152.  */
  153.  
  154. /* Overridden method: somInit */
  155. SOM_Scope void  SOMLINK FW_OStorageUnitSink__somInit(FW_OStorageUnitSink *somSelf);
  156. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OStorageUnitSink_somInit)(FW_OStorageUnitSink *somSelf);
  157. inline void  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_somInit(FW_OStorageUnitSink *somSelf)
  158. {
  159.   (void)         (somSelf);
  160. }
  161. #define FW_OStorageUnitSink_parents_somInit(arg0) \
  162.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_somInit(arg0)
  163.  
  164. /* Overridden method: somUninit */
  165. SOM_Scope void  SOMLINK FW_OStorageUnitSink__somUninit(FW_OStorageUnitSink *somSelf);
  166. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OStorageUnitSink_somUninit)(FW_OStorageUnitSink *somSelf);
  167. inline void  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_somUninit(FW_OStorageUnitSink *somSelf)
  168. {
  169.   (void)         (somSelf);
  170. }
  171. #define FW_OStorageUnitSink_parents_somUninit(arg0) \
  172.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_somUninit(arg0)
  173.  
  174. /* Overridden method: Read */
  175. SOM_Scope void  SOMLINK FW_OStorageUnitSink__Read(FW_OStorageUnitSink *somSelf, Environment *ev,
  176.         void* destination,
  177.         long count);
  178. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OStorageUnitSink_Read)(FW_OStorageUnitSink *somSelf, Environment *ev,
  179.         void* destination,
  180.         long count);
  181. inline void  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_Read(FW_OStorageUnitSink *somSelf, Environment *ev,
  182.     void* destination,
  183.     long count)
  184. {
  185.   ((somTD_xih_FW_OStorageUnitSink_Read)
  186.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_OSinkClassData.Read))
  187.         (somSelf,ev,destination,count);
  188. #ifdef SOMCHKEXCEPT
  189.   SOMCHKEXCEPT;
  190. #endif
  191. }
  192. #define FW_OStorageUnitSink_parents_Read(arg0,arg1,arg2,arg3) \
  193.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_Read(arg0,arg1,arg2,arg3)
  194.  
  195. /* Overridden method: GetWritableBytes */
  196. SOM_Scope long  SOMLINK FW_OStorageUnitSink__GetWritableBytes(FW_OStorageUnitSink *somSelf, Environment *ev);
  197. SOMEXTERN typedef long   (* SOMLINK somTD_xih_FW_OStorageUnitSink_GetWritableBytes)(FW_OStorageUnitSink *somSelf, Environment *ev);
  198. inline long  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_GetWritableBytes(FW_OStorageUnitSink *somSelf, Environment *ev)
  199. {
  200. #ifdef SOMCHKEXCEPT
  201.   long __somRetVal =   ((somTD_xih_FW_OStorageUnitSink_GetWritableBytes)
  202.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_OSinkClassData.GetWritableBytes))
  203.         (somSelf,ev);
  204.   SOMCHKEXCEPT;
  205.   return __somRetVal;
  206. #else
  207.   return  ((somTD_xih_FW_OStorageUnitSink_GetWritableBytes)
  208.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_OSinkClassData.GetWritableBytes))
  209.         (somSelf,ev);
  210. #endif
  211. }
  212. #define FW_OStorageUnitSink_parents_GetWritableBytes(arg0,arg1) \
  213.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_GetWritableBytes(arg0,arg1)
  214.  
  215. /* Overridden method: Write */
  216. SOM_Scope void  SOMLINK FW_OStorageUnitSink__Write(FW_OStorageUnitSink *somSelf, Environment *ev,
  217.         void* source,
  218.         long count);
  219. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OStorageUnitSink_Write)(FW_OStorageUnitSink *somSelf, Environment *ev,
  220.         void* source,
  221.         long count);
  222. inline void  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_Write(FW_OStorageUnitSink *somSelf, Environment *ev,
  223.     void* source,
  224.     long count)
  225. {
  226.   ((somTD_xih_FW_OStorageUnitSink_Write)
  227.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_OSinkClassData.Write))
  228.         (somSelf,ev,source,count);
  229. #ifdef SOMCHKEXCEPT
  230.   SOMCHKEXCEPT;
  231. #endif
  232. }
  233. #define FW_OStorageUnitSink_parents_Write(arg0,arg1,arg2,arg3) \
  234.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_Write(arg0,arg1,arg2,arg3)
  235.  
  236. /* Overridden method: GetLength */
  237. SOM_Scope long  SOMLINK FW_OStorageUnitSink__GetLength(FW_OStorageUnitSink *somSelf, Environment *ev);
  238. SOMEXTERN typedef long   (* SOMLINK somTD_xih_FW_OStorageUnitSink_GetLength)(FW_OStorageUnitSink *somSelf, Environment *ev);
  239. inline long  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_GetLength(FW_OStorageUnitSink *somSelf, Environment *ev)
  240. {
  241. #ifdef SOMCHKEXCEPT
  242.   long __somRetVal =   ((somTD_xih_FW_OStorageUnitSink_GetLength)
  243.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_ORandomAccessSinkClassData.GetLength))
  244.         (somSelf,ev);
  245.   SOMCHKEXCEPT;
  246.   return __somRetVal;
  247. #else
  248.   return  ((somTD_xih_FW_OStorageUnitSink_GetLength)
  249.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_ORandomAccessSinkClassData.GetLength))
  250.         (somSelf,ev);
  251. #endif
  252. }
  253. #define FW_OStorageUnitSink_parents_GetLength(arg0,arg1) \
  254.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_GetLength(arg0,arg1)
  255.  
  256. /* Overridden method: SetLength */
  257. SOM_Scope void  SOMLINK FW_OStorageUnitSink__SetLength(FW_OStorageUnitSink *somSelf, Environment *ev,
  258.         long length);
  259. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OStorageUnitSink_SetLength)(FW_OStorageUnitSink *somSelf, Environment *ev,
  260.         long length);
  261. inline void  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_SetLength(FW_OStorageUnitSink *somSelf, Environment *ev,
  262.     long length)
  263. {
  264.   ((somTD_xih_FW_OStorageUnitSink_SetLength)
  265.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_ORandomAccessSinkClassData.SetLength))
  266.         (somSelf,ev,length);
  267. #ifdef SOMCHKEXCEPT
  268.   SOMCHKEXCEPT;
  269. #endif
  270. }
  271. #define FW_OStorageUnitSink_parents_SetLength(arg0,arg1,arg2) \
  272.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_SetLength(arg0,arg1,arg2)
  273.  
  274. /* Overridden method: GetPosition */
  275. SOM_Scope long  SOMLINK FW_OStorageUnitSink__GetPosition(FW_OStorageUnitSink *somSelf, Environment *ev);
  276. SOMEXTERN typedef long   (* SOMLINK somTD_xih_FW_OStorageUnitSink_GetPosition)(FW_OStorageUnitSink *somSelf, Environment *ev);
  277. inline long  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_GetPosition(FW_OStorageUnitSink *somSelf, Environment *ev)
  278. {
  279. #ifdef SOMCHKEXCEPT
  280.   long __somRetVal =   ((somTD_xih_FW_OStorageUnitSink_GetPosition)
  281.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_ORandomAccessSinkClassData.GetPosition))
  282.         (somSelf,ev);
  283.   SOMCHKEXCEPT;
  284.   return __somRetVal;
  285. #else
  286.   return  ((somTD_xih_FW_OStorageUnitSink_GetPosition)
  287.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_ORandomAccessSinkClassData.GetPosition))
  288.         (somSelf,ev);
  289. #endif
  290. }
  291. #define FW_OStorageUnitSink_parents_GetPosition(arg0,arg1) \
  292.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_GetPosition(arg0,arg1)
  293.  
  294. /* Overridden method: SetPosition */
  295. SOM_Scope void  SOMLINK FW_OStorageUnitSink__SetPosition(FW_OStorageUnitSink *somSelf, Environment *ev,
  296.         long position);
  297. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OStorageUnitSink_SetPosition)(FW_OStorageUnitSink *somSelf, Environment *ev,
  298.         long position);
  299. inline void  SOMLINK FW_OStorageUnitSink_parent_FW_ORandomAccessSink_SetPosition(FW_OStorageUnitSink *somSelf, Environment *ev,
  300.     long position)
  301. {
  302.   ((somTD_xih_FW_OStorageUnitSink_SetPosition)
  303.     somParentNumResolve((somClassDataStructure*)&FW_OStorageUnitSinkClassData, 1, FW_ORandomAccessSinkClassData.SetPosition))
  304.         (somSelf,ev,position);
  305. #ifdef SOMCHKEXCEPT
  306.   SOMCHKEXCEPT;
  307. #endif
  308. }
  309. #define FW_OStorageUnitSink_parents_SetPosition(arg0,arg1,arg2) \
  310.   (void) FW_OStorageUnitSink_parent_FW_ORandomAccessSink_SetPosition(arg0,arg1,arg2)
  311.  
  312. /*
  313.  * -- Primary Implementation File Support
  314.  */
  315. #if (defined(FW_OStorageUnitSink_Class_Source) || defined(SOM_Module_slsusink_Source))
  316.  
  317. /*
  318.  * -- The FW_OStorageUnitSink ClassData Structure
  319.  */
  320.  
  321. #if PRAGMA_IMPORT_SUPPORTED
  322. #pragma export list FW_OStorageUnitSinkClassData
  323. #endif
  324.  
  325.  
  326. /*
  327.  * -- The FW_OStorageUnitSink Class Ancestor Table
  328.  */
  329. static somClassDataStructure * SOMDLINK FW_OStorageUnitSinkClassAncestors [] = {
  330.     (somClassDataStructure*) & FW_ORandomAccessSinkClassData,    /* parent */
  331.     (somClassDataStructure*) & SOMObjectClassData,    /* ancestor */
  332.     (somClassDataStructure*) & FW_OSinkClassData,    /* ancestor */
  333. };
  334.  
  335.  
  336. /*
  337.  * -- The FW_OStorageUnitSink Override ProcPtr Implementations Table
  338.  */
  339. static somMethodPtr FW_OStorageUnitSinkOverrideProcs [] = {
  340.     (somMethodPtr) FW_OStorageUnitSink__GetLength,    /* override class FW_ORandomAccessSink */
  341.     (somMethodPtr) FW_OStorageUnitSink__SetLength,    /* override class FW_ORandomAccessSink */
  342.     (somMethodPtr) FW_OStorageUnitSink__GetPosition,    /* override class FW_ORandomAccessSink */
  343.     (somMethodPtr) FW_OStorageUnitSink__SetPosition,    /* override class FW_ORandomAccessSink */
  344.     (somMethodPtr) FW_OStorageUnitSink__somInit,    /* override class SOMObject */
  345.     (somMethodPtr) FW_OStorageUnitSink__somUninit,    /* override class SOMObject */
  346.     (somMethodPtr) FW_OStorageUnitSink__Read,    /* override class FW_OSink */
  347.     (somMethodPtr) FW_OStorageUnitSink__GetWritableBytes,    /* override class FW_OSink */
  348.     (somMethodPtr) FW_OStorageUnitSink__Write,    /* override class FW_OSink */
  349. };
  350.  
  351.  
  352. static void FW_OStorageUnitSinkDLLD ( void ) { }
  353.  
  354.  
  355. /*
  356.  * -- The FW_OStorageUnitSink Static Class Info Master Table
  357.  */
  358. static somStaticClassInfo FW_OStorageUnitSinkSCI = {
  359.       70,    /* layout version */
  360.     (somClassDataStructure*)  & FW_OStorageUnitSinkClassData,    /* main token table */
  361.       FW_OStorageUnitSinkOverrideProcs,    /* override proc implemenations table */
  362.       FW_OStorageUnitSinkClassAncestors,    /* ancestor table */
  363.       FW_OStorageUnitSinkDLLD,    /* DLLdesignator */
  364.       0,    /* no special procs */
  365.       0,    /* rtci slot */
  366.       0,    /* count slot */
  367.       0,    /* dynamic ancestry */
  368.       0,    /* free */
  369.       0,    /* free */
  370.       0,    /* free */
  371.       0,    /* free */
  372.  
  373. /*
  374.  * -- The FW_OStorageUnitSink Counts Table
  375.  */
  376.     (somStaticClassCounts *)
  377.         "\x00\x00\x00\x01"    /* majorversion */
  378.         "\x00\x00\x00\x00"    /* minorversion */
  379.         "\x00\x00\x00\x01"    /* flags */
  380.             "\x00\x02"    /* type code alignment */
  381.             "\x00\x03"    /* classTokenCount */
  382.             "\x00\x01"    /* numDirectParents */
  383.             "\x00\x00"    /* numMetaClasses */
  384.             "\x00\x03"    /* numOverriddenAncestors */
  385.             "\x00\x00"    /* numMigratedMethods */
  386.             "\x00\x00"    /* numSelectedInherited */
  387.             "\x00\x00"    /* numUnused */
  388.             "\x00\x00"    /* free */
  389.             "\x00\x00"    /* free */
  390.             "\x00\x00"    /* free */
  391.             "\x00"    /* free */
  392.                 ,
  393.  
  394.     {
  395.       "FW_OStorageUnitSink",    /* the class name */
  396.       sizeof (FW_OStorageUnitSinkData), /* class instance data size */
  397.  
  398. /*
  399.  * -- The FW_OStorageUnitSink Parent Versions Table
  400.  */
  401.     (somParentVersions *)
  402.         "\x00\x00\x00\x01"    /* majorversion */
  403.         "\x00\x00\x00\x00"    /* minorversion */
  404.                 ,
  405.  
  406.  
  407. /*
  408.  * -- The FW_OStorageUnitSink Token Slot Usage Table
  409.  */
  410.     (somSlotUsage *)
  411.         "\x00",
  412.  
  413.  
  414. /*
  415.  * -- The FW_OStorageUnitSink Method Signature Info
  416.  */
  417.     (somSignatureInfo *)
  418.         "\x03\x07"    /* InitFromStorageUnitView */
  419.          "\x05\x07"    /* InitFromStorageUnitAndProperty */
  420.          "\x02\x0c"    /* GetStorageUnitView */
  421.              ,
  422.  
  423.  
  424. /*
  425.  * -- The FW_OStorageUnitSink Class Method Names
  426.  */
  427.         "InitFromStorageUnitView\0"
  428.         "InitFromStorageUnitAndProperty\0"
  429.         "GetStorageUnitView\0"
  430.             ,
  431.  
  432.  
  433. /*
  434.  * -- The FW_OStorageUnitSink Override Slots Table
  435.  */
  436.     (somOverrideData *)
  437.         "\x00\x00\x00\x04"    /* parent FW_ORandomAccessSink has 4 overrides */
  438.             "\x00\x00"    /* GetLength */
  439.             "\x00\x01"    /* SetLength */
  440.             "\x00\x02"    /* GetPosition */
  441.             "\x00\x03"    /* SetPosition */
  442.         "\x00\x01\x00\x02"    /* parent SOMObject has 2 overrides */
  443.             "\x00\x00"    /* somInit */
  444.             "\x00\x01"    /* somUninit */
  445.         "\x00\x02\x00\x03"    /* parent FW_OSink has 3 overrides */
  446.             "\x00\x03"    /* Read */
  447.             "\x00\x04"    /* GetWritableBytes */
  448.             "\x00\x05"    /* Write */
  449.                 ,
  450.  
  451.       0,    /* no migrated methods table */
  452.       0,    /* no selected inherited */
  453.       0,    /* unused */
  454.  
  455.       0,    /* free */
  456.       0,    /* free */
  457.       0,    /* free */
  458.       0,    /* free */
  459.     },
  460. };
  461.  
  462. /*
  463.  * -- The FW_OStorageUnitSink ClassData Structure
  464.  */
  465. struct FW_OStorageUnitSinkClassDataStructure SOMDLINK FW_OStorageUnitSinkClassData = {
  466.       0,            /* zero */
  467.     & FW_OStorageUnitSinkSCI,        /* SCI link */
  468.       0,            /* instanceDataToken */
  469.       0,            /* reserved */
  470.       0,            /* reserved */
  471.       0,            /* reserved */
  472.     (somMToken) FW_OStorageUnitSink__InitFromStorageUnitView,    /* InitFromStorageUnitView:method */
  473.     (somMToken) FW_OStorageUnitSink__InitFromStorageUnitAndProperty,    /* InitFromStorageUnitAndProperty:method */
  474.     (somMToken) FW_OStorageUnitSink__GetStorageUnitView,    /* GetStorageUnitView:method */
  475. };
  476.  
  477.  
  478. /*
  479.  * Functions for attributes.
  480.  */
  481.  
  482. /*
  483.  * Macros for initializers/destructors
  484.  */
  485.  
  486. #endif /* Primary Implementation Support */
  487.  
  488. #endif       /* SOM_FW_OStorageUnitSink_xih */
  489.